
mixin PortRow(port, device)
	td.neutral.PortRow(id= port.sysId).link(onclick='window.location=\'/port/' + port._id + '\'')
			=port.sysId  + ' (' + (port.device.name || device.name) + '/' + port.name + ')'
			-if(port.direction == 'Input')
				span= ' >> '
			-else if(port.direction == 'Output')
				span= ' << '
			span.PortValue= port.value
